package com.hsylient.simplefactory;

import lombok.extern.slf4j.Slf4j;

@Slf4j(topic = "design-pattern")
public abstract class Pizza {

    protected String name;
    public abstract void prepare();

    public void back() {
        log.info(name + "back");
    }

    public void cut() {
        log.info(name + "cut");
    }

    public void box() {
        log.info(name + "box");
    }
}
